﻿using System;
namespace HBKY.Shop.Common.Constant
{
    public class ApplicationConst
    {
        /// <summary>
        /// 时间最小值
        /// </summary>
        public static DateTime _MinDate = new DateTime(1900, 1, 1);

        /// <summary>
        /// 等待时间
        /// </summary>
        public static readonly TimeSpan WaitDBDelayDuration = new TimeSpan(0, 0, 0, 0, WaitDBDelayDuration_millionseconds);

        /// <summary>
        /// 等待时间30
        /// </summary>
        public static readonly TimeSpan Minutes30 = TimeSpan.FromMinutes(30);

        /// <summary>
        /// 等待时间60
        /// </summary>
        public static readonly TimeSpan Minutes60 = TimeSpan.FromMinutes(60);

        /// <summary>
        /// 等待时间30
        /// </summary>
        public static int TimeRemaining() => (23 - DateTime.Now.Hour);

        /// <summary>
        /// 等待时间
        /// </summary>
        public const int WaitDBDelayDuration_millionseconds = 1000;

        /// <summary>
        /// 0
        /// </summary>
        public const int IntZero = 0;

        /// <summary>
        /// 空引用 -- 
        /// </summary>
        public const string CharNull = "--";
    }
}
